<?php die;?><html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>miceCMS,觅策企业网站管理系统</title>
<style type="text/css">
<!--
html {overflow-x:auto; overflow-y:hidden;}
-->
</style>
<link href="css/default.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.STYLE1 {
	font-size: 16px;
	font-weight: bold;
	color: #0000CC;
}
.STYLE6 {font-size: 14}
.STYLE7 {
	font-size: 14px;
	font-weight: bold;
}
.STYLE8 {color: #0000CC}
td.bottomline {
	border-bottom: 1px solid #e9e9e9;
}
.db_avail0 {
	color: red;
	font-weight: normal;
}
.db_avail1 {
	color: red;
	font-weight: normal;
}
.db_avail2 {
	color: gray;
	font-weight:bold;
}
.db_avail3 {
	color: green;
	font-weight:bold;
}
-->
</style>
</head>

<body>
<table width="99%" align="center" border="0" cellpadding="0" cellspacing="0">
  <tr align="center">
    <td height="5"></td>
  </tr>
</table>
<table width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="860" align="center" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#D5D5D5">
      <tr>
        <td height="28" bgcolor="#F9F9F9">&nbsp;<span class="STYLE7">友情链接标签</span></td>
      </tr>
      <tr>
        <td height="28" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="28" class="bottomline" width="200" valign="top">&nbsp;友情链接列表标签</td>
    <td height="28" class="bottomline">
	&lt!--{foreach from='micefun'|LinkList:2:0:0:20 item=Link}-->：获取前20条友情链接,2表示所有链接，改为0表示仅文字链接(logo图片为空的),改为1表示图片链接(logo图片已经填写的)；0表示全部分类;0表示从第一条开始;20表示前20条<br>
	&lta href="&lt!--{'micefun'|MiceRestoreQuote:$Link->getUrl()}-->" title="&lt!--{$Link->getSummary()}-->" target="_blank">&lt!--{$Link->getTitle()}-->&lt/a>：依次为：链接地址,链接说明,链接标题；链接Logo为&lt!--{'micefun'|MiceRestoreQuote:$Link->getLogo()}--><br>
	&lt!--{/foreach}--><br>
	&lta href="&lt!--{$smarty.const.MICE_URL}-->index.php/addlink">申请链接&lt/a>
	</td>
  </tr>
  <tr>
    <td height="28" class="bottomline" width="200">&nbsp;</td>
    <td height="28" class="bottomline">
	<b>适用范围：</b>所有模板都可使用<br>
	可参考footer.php模板
	</td>
  </tr>
  <tr>
    <td height="28" class="bottomline" width="200" valign="top">&nbsp;申请链接页面标签</td>
    <td height="28" class="bottomline">
&ltscript language="JavaScript"><br>
function CheckLinkForm()<br>
{<br>
 if (document.linkform.name.value.length == 0)<br>
 {<br>
  alert("姓名不能为空！");<br>
  document.linkform.name.focus();<br>
  return false;<br>
 }<br>
<br>
 if (document.linkform.title.value.length == 0)<br>
 {<br>
  alert("标题不能为空！");<br>
  document.linkform.title.focus();<br>
  return false;<br>
 }<br>
<br>
 if (document.linkform.url.value.length == 0)<br>
 {<br>
  alert("网址不能为空！");<br>
  document.linkform.url.focus();<br>
  return false;<br>
 }<br>
<br>
 if (document.linkform.checkcode.value.length == 0)<br>
 {<br>
  alert("验证码不能为空！");<br>
  document.linkform.checkcode.focus();<br>
  return false;<br>
 }<br>
<br>
  return true;<br>
}<br>
<br>
&lt/script><br><br>

			&ltform id="linkform" name="linkform" method="post" action="" onsubmit="return CheckLinkForm()"><br>
			&lt!--{if $name==''}--><br>
			姓名:&ltinput name="name" type="text" size="50" maxlength="50"/><br>
			&lt!--{else}--><br>
				&ltinput name="name" type="hidden" value="&lt!--{$name}-->"/><br>
			&lt!--{/if}--><br>
			网站名称:&ltinput name="title" type="text" size="50" maxlength="250" /><br>
			网址:&ltinput name="url" type="text" size="50" maxlength="250" /><br>
			Logo:&ltinput name="logo" type="text" size="50" maxlength="250" /><br>
			网站简介:&lttextarea name="content" cols="50" rows="5">&lt/textarea><br>
			联系方式:&ltinput name="email" type="text" size="50" maxlength="200" />&nbsp;(如Email:cms@micecms.com;QQ:78825278)<br>
			验证码:&ltinput name="checkcode" type="text" size="30" maxlength="4" />&ltimg src="&lt!--{$checkcode}-->" onClick="this.src=this.src+'/'" title="看不清?点击图片更新！"/><br>
			&ltinput type="submit" name="Submit" value="提交" /><br>
			&ltinput type="reset" name="Submit2" value="重置" /><br>
			&lt/form>
	</td>
  </tr>
  <tr>
    <td height="28" class="bottomline" width="200">&nbsp;</td>
    <td height="28" class="bottomline">
	<b>适用范围：</b>addlink.php<br>
	可参考addlink.php模板
	</td>
  </tr>
</table>
	</td>
   </tr>
</table>
  <table width="100%" height="5" border="0" cellpadding="0" cellspacing="0">
	<tr>
	  <td></td>
	</tr>
  </table>
</body>
</html>
